package com.question.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.question.Vo.SessionWebUserDto;
import com.question.entity.User;
import org.springframework.stereotype.Service;

@Service
public interface UserService  extends IService<User> {
    SessionWebUserDto login(String username, String password, Integer roles);

    void register(String username, String password);
}
